home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 7 / BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso / Files / Prog / N-P / Prograph Tour.cpt / Prograph Tour / PrographTour.sit / Prograph Demo ƒ / PrographDemo / PrographDemo / card_5342.txt < prev    next >
Encoding:
Text File  |  1990-08-03  |  1.9 KB  |  72 lines

  1. -- card: 5342 from stack: in
  2. -- bmap block id: 5432
  3. -- flags: 0000
  4. -- background id: 2570
  5. -- name: 
  6.  
  7.  
  8. -- part 1 (button)
  9. -- low flags: 00
  10. -- high flags: A004
  11. -- rect: left=197 top=319 right=338 bottom=319
  12. -- title width / last selected line: 0
  13. -- icon id / first selected line: 0 / 0
  14. -- text alignment: 1
  15. -- font id: 0
  16. -- text size: 12
  17. -- style flags: 0
  18. -- line height: 16
  19. -- part name: Create a Method
  20. ----- HyperTalk script -----
  21. on mouseUp
  22.   visual effect iris open
  23.   PlayScreen ":Tapes:HelloMeth"
  24.   if the result is not empty then put the result
  25.   visual effect iris close
  26. end mouseUp
  27.  
  28.  
  29. -- part 2 (field)
  30. -- low flags: 00
  31. -- high flags: 0000
  32. -- rect: left=11 top=27 right=317 bottom=284
  33. -- title width / last selected line: 0
  34. -- icon id / first selected line: 0 / 0
  35. -- text alignment: 0
  36. -- font id: 3
  37. -- text size: 12
  38. -- style flags: 0
  39. -- line height: 16
  40. -- part name: 
  41.  
  42.  
  43. -- part 4 (field)
  44. -- low flags: 00
  45. -- high flags: 0000
  46. -- rect: left=295 top=266 right=317 bottom=495
  47. -- title width / last selected line: 0
  48. -- icon id / first selected line: 0 / 0
  49. -- text alignment: 0
  50. -- font id: 3
  51. -- text size: 12
  52. -- style flags: 0
  53. -- line height: 16
  54. -- part name: 
  55.  
  56.  
  57. -- part contents for card part 2
  58. ----- text -----
  59. To create a Prograph method:
  60. 1)  Click in a methods window (in this case, in the Universal methods window) to create a new method icon.  This is a general principle in Prograph:  clicking in unoccupied space (‚Äúclicking space‚Äù) in a window creates an object appropriate to that window and to the exact position of the click.
  61.  
  62. 2)  Give the method a name.
  63.  
  64. 3)  You may attach a multi-line comment to a method by command-clicking on its icon.  This opens an insertion point for typing the comment.  The comment moves with its associated object, and may be re-positioned and hidden.
  65.  
  66. -- part contents for card part 4
  67. ----- text -----
  68. Command-clicking on an icon toggles between hiding or showing the comment.
  69.  
  70. -- part contents for background part 39
  71. ----- text -----
  72. Methods…